package org.example.carsystem.service;

import org.example.carsystem.domain.SysUser;
import org.example.carsystem.domain.dto.SysUserDTO;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.Date;
import java.util.List;

public interface UserService {
    List<SysUser> usersSelect(Long deptId, String userName, String phoneNumber, String status, Date createStartTime, Date createEndTime);


    void usersAdd(SysUserDTO sysUserDTO);

    SysUserDTO SelectById(Long userId);

    void DeleteUser(Long[] userId);

    void updateUser(SysUserDTO sysUserDTO);

    void updateUserStatus(Long userId, String status);

    void exportUsers(Long deptId, String userName, String phoneNumber, String status, Date createStartTime, Date createEndTime);

    void importUsers(MultipartFile file) throws IOException;
}
